﻿using Mapster;
using MyFileView.Core;
using MyFileView.Shard;
using MyFileView.Shard.Model;
using MyFileView.Shard.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;

namespace MyFleView.Service
{
    public interface IUploadFileService//: RegisterAutofac
    {
        Task<List<UploadFileModel>> Select();
    }
    public class UploadFileService : IUploadFileService//(IMyFileViewRepository<PreviewFileModel> myFileViewRepository)
    {

        //   public async Task<List<UploadFileModel>> Select() 
        // => (await myFileViewRepository.GetListAsync()).Adapt<List<UploadFileModel>>();
        public Task<List<UploadFileModel>> Select()
        {
            throw new NotImplementedException();
        }
    }
}